import java.util.ArrayList;
import java.util.List;

public class NoteStore {
    List<Notes> notes = new ArrayList<>();

    public void storeNote(Notes note) {
        this.notes.add(note);
    }

    public void getAllTextNotes() {
        for (int i = 0; i < notes.size(); i++) {
           Notes note = notes.get(i);
            note.printtext();}
}
    public void getAllTextAndImageNotes() {
        for (int i = 0; i < notes.size(); i++) {
            Notes note = notes.get(i);
            note.printtext();
            note.printurl();
        }
    }
}


